<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小游戏</title>
</head>
<body>
    
</body>
</html>
<script>
var a = prompt("请输入你的名字");
    function fun(c){
        var c;
        var a = Math.floor(Math.random()*10);
        switch(a){
            case 0: document.write(c+"是傻冒");
            break;
            case 1: document.write(c+"是美女");
            break;
            case 2: document.write(c+"是修狗");
            break;
            case 3: document.write(c+"是小猫");
            break;
            case 4: document.write(c+"是小猪");
            break;
            case 5: document.write(c+"是二臂");
            break;
            case 6: document.write(c+"是小猴子");
            break;
            case 7: document.write(c+"是精神小妹");
            break;
            case 8: document.write(c+"是摩登女郎");
            break;
            case 9: document.write(c+"是风情少女");
            break;
        }
    }
    fun(a);
</script>
<style>
    *{
        font-size:100px;
        text-align: center;
        margin: 0px;
        padding: 0px;
    }
</style>